//
// Created by liang on 25-10-15.
//

#ifndef COMMONLUTWIDGET_H
#define COMMONLUTWIDGET_H

#include <qlabel.h>
#include <QWidget>
#include <QLabel>
#include "Windows.h"
#include "../RayCiLut.hpp"



QT_BEGIN_NAMESPACE
namespace Ui { class CommonLutWidget; }
QT_END_NAMESPACE

class CommonLutWidget : public QWidget {
Q_OBJECT

public:
    explicit CommonLutWidget(QWidget *parent = nullptr);
    ~CommonLutWidget() override;

void initLUTWidget(QWidget *parentWidget);

void updateLUTDisplay(QWidget *parentWidget);

private:
    Ui::CommonLutWidget *ui;
    QLabel* m_lutLabel = nullptr;
    QList<QLabel*> m_scaleLabels;

};


#endif //COMMONLUTWIDGET_H
